<template>
  <div class="home-head clearfix">
    <div class="head-log">
      <img src="../../../assets/img/logo.png" alt="">
    </div>
    <div class="head-sousuo clearfix" @click="$router.push('/search')">
      <van-icon name="search" />
      <div class="head-text">泰尔丝 补肺丸 鸿茅药酒</div>
    </div>
    <div class="head-login" @click="$router.push('/search')">搜索</div>
  </div>
</template>

<script>
export default {
}
</script>

<style lang="scss" scoped>
.home-head{
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999999999999;
  width: 100%;
  padding: 0.1rem 0.2rem;
  height: 0.80rem;
  background-color: #0075c2;
  .head-log{
    width: 0.8rem;
    float: left;
    margin-top: -0.06rem;
    img{
      width: 100%;
    }
  }
  .head-sousuo{
    float: left;
    width: 62%;
    margin-top: 0.06rem;
    padding: 0.12rem 0.3rem;
    border-radius: 0.5rem;
    background-color: #f8f8f8;
    margin-left: 0.1rem;
    .van-icon{
      float: left;
      font-size: 0.36rem;
      color: #999;
      margin-right: 0.05rem;
    }
    .head-text{
      float: left;
      font-size: 0.14rem;
      color: #666;
      line-height: 0.44rem;
    }
  }
  .head-login {
    float: left;
    font-size: 0.30rem;
    line-height: 0.84rem;
    margin-left: 0.25rem;
    color: #fff;
  }
}

</style>
